﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/ArchiveBorrow/ArchiveBorrowApprove/ArchiveBorrowBase.master" AutoEventWireup="true" CodeBehind="AccountArchiveApprove.aspx.cs" Inherits="Web.Views.ArchiveBorrow.ArchiveBorrowApprove.AccountArchiveApprove" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ArchiveData" runat="server">
<fieldset>
<legend>著录项信息 <%=archiveTypeName %>
</legend>
<div>
<table cellpadding="0" cellspacing="0" width="100%" class="editTable">
<tr>
<th style="width:12%">档号</th><td style="width:20%"><asp:TextBox ReadOnly="true" ID="txtArchiveNum" runat="server" Width="98%"></asp:TextBox></td>
<th style="width:12%">临时序号</th><td  style="width:20%"><asp:TextBox ReadOnly="true" ID="txtTempOrderNum" runat="server" Width="98%"></asp:TextBox></td>
<th style="width:12%">来源</th><td><asp:TextBox ReadOnly="true" ID="txtArchiveSource" runat="server" Width="98%"></asp:TextBox></td>
</tr>
<tr>
<th>全宗号</th><td><asp:TextBox ReadOnly="true" ID="txtFullFondsNum" runat="server" Width="98%"></asp:TextBox></td>
<th>题名</th><td colspan="3"><asp:TextBox ReadOnly="true" ID="txtTitle" runat="server" Width="98%" TextMode="MultiLine" Rows="3"></asp:TextBox></td>
</tr>
<tr>
<th>类别号</th><td><asp:TextBox ReadOnly="true" ID="txtArchiveType" runat="server" Width="98%"></asp:TextBox>
<asp:HiddenField ID="h_ArchiveTypeId" runat="server" />
</td>
<th>保管期限</th><td><asp:TextBox ReadOnly="true" ID="ddlKeepTime" runat="server" Width="160px" ></asp:TextBox></td>
<th>起日期</th><td><asp:TextBox ReadOnly="true" ID="txtStartTime" runat="server"  Width="160px"></asp:TextBox></td>
</tr>
<tr>
<th>止日期</th><td><asp:TextBox ReadOnly="true" ID="txtEndTime" runat="server" Width="160px"></asp:TextBox></td>
<th>年度</th><td><asp:TextBox ReadOnly="true" ID="ddlYear" runat="server"  Width="160px"></asp:TextBox></td>
<th>归档单位</th><td><asp:TextBox ReadOnly="true" ID="txtFileOrgName" runat="server" class="required" Width="98%"></asp:TextBox>
<asp:HiddenField ID="h_FileOrgID" runat="server" /></td>

</tr>
<tr>
<th>载体类型</th><td><asp:TextBox ReadOnly="true" ID="ddlCarrierType" runat="server" Width="160px"></asp:TextBox></td>
<th>密级</th><td><asp:TextBox ReadOnly="true" ID="ddlSecurity" runat="server" Width="160px"></asp:TextBox></td>
<th>保密期限</th><td><asp:TextBox ReadOnly="true" ID="ddlKeepSecurityTime" runat="server" Width="160px"></asp:TextBox></td>
</tr>
<tr>
<th>页数</th><td><asp:TextBox ReadOnly="true" ID="txtPageNum" runat="server" class=" number" Width="98%" MaxLength="5"></asp:TextBox></td>
<th>正本数量</th><td><asp:TextBox ReadOnly="true" ID="txtMainBodyNum" runat="server" class="number" MaxLength="5" Width="98%"></asp:TextBox></td>
<th>件数</th><td><asp:TextBox ReadOnly="true" ID="txtFileNum" runat="server" class=" number" Width="98%" MaxLength="5"></asp:TextBox></td>
</tr>
<tr runat="server" id="trAccount">
<th>起凭证号</th><td><asp:TextBox ReadOnly="true" ID="txtStartAccount" runat="server" class=" number" Width="98%" MaxLength="5"></asp:TextBox></td>
<th>止凭证号</th><td><asp:TextBox ReadOnly="true" ID="txtEndAccount" runat="server" class="number" MaxLength="5" Width="98%"></asp:TextBox></td>
<th>凭证类别</th><td><asp:TextBox ReadOnly="true" ID="ddlAccountType" runat="server" Width="160px"></asp:TextBox></td>
</tr>
<tr>
<th>提要</th><td colspan="3"><asp:TextBox ReadOnly="true" ID="txtSummary" runat="server" Width="98%" TextMode="MultiLine" Rows="3" Columns="20"></asp:TextBox></td>
</tr>

<tr>
<th>存放位置</th><td colspan="3"><asp:TextBox ReadOnly="true" ID="txtStorageType" runat="server" Width="98%"></asp:TextBox></td>
</tr>
</table>
</div>
</fieldset>
<fieldset>
  <legend>装盒信息</legend>
  <table width="100%" cellpadding="0" cellspacing="0" class="editTable">
  <tr>
  <th  style="width:12%">盒号</th><td><asp:TextBox ReadOnly="true" ID="txtBoxNum" runat="server" Width="140px" ></asp:TextBox></td>
  </tr>
  </table>

  </fieldset>
  <fieldset>
  <legend>扩展信息</legend>
  </fieldset>
  <fieldset>
  <legend>上交分发</legend>
  </fieldset>
  <legend>附件</legend>
  <ep:EPGridView ID="gv_Attachment" runat="server" Width="100%" ShowCheckBox="true" DataKeyNames="AttachmentID" 
        >
        <Columns>
       <asp:BoundField HeaderText="文件名" DataField="AttachmentName" HeaderStyle-Width="50%" ItemStyle-HorizontalAlign="Center" />
      <asp:BoundField HeaderText="文件大小" DataField="AttachmentSize" HeaderStyle-Width="20%" ItemStyle-HorizontalAlign="Center" />
      <asp:BoundField HeaderText="上传时间" DataField="UploadTime" HeaderStyle-Width="30%" ItemStyle-HorizontalAlign="Center" />
        </Columns>
        </ep:EPGridView>
  </fieldset>
  <fieldset>
  <legend>卷内件</legend>
   <ep:EPGridView ID="gv_PageFileView" runat="server" Width="100%" ShowCheckBox="true" DataKeyNames="DataID" 
        OnRowDataBound="gv_PageFileView_RowDataBound">
        <Columns>
        <asp:TemplateField>
          <HeaderStyle Width="4%" />
          <HeaderTemplate>详情</HeaderTemplate>
          <ItemStyle HorizontalAlign="Center" />
          <ItemTemplate>      
          <asp:Button class="btn" Text="详情" runat="server" ID="view" />
          </ItemTemplate>
          </asp:TemplateField>
       <asp:BoundField HeaderText="序号" DataField="ordernum" HeaderStyle-Width="7%" ItemStyle-HorizontalAlign="Center" />
      <asp:BoundField HeaderText="全宗号" DataField="FullFondsNum" HeaderStyle-Width="7%" ItemStyle-HorizontalAlign="Center" />
      <asp:BoundField HeaderText="题名" DataField="TITLE" HeaderStyle-Width="20%" ItemStyle-HorizontalAlign="Center" />
     <asp:BoundField HeaderText="密级" DataField="F_SECURITYTYPE" HeaderStyle-Width="6%" ItemStyle-HorizontalAlign="Center" />
        <asp:BoundField HeaderText="保管期限" DataField="F_KEEPTIME" HeaderStyle-Width="8%" ItemStyle-HorizontalAlign="Center" />
         <asp:BoundField HeaderText="归档单位" DataField="FIleOrgID" HeaderStyle-Width="8%" ItemStyle-HorizontalAlign="Center" />
         <asp:BoundField HeaderText="文件日期" DataField="PublishTime" DataFormatString="{0:yyyy-MM-dd}" HtmlEncode="false" HeaderStyle-Width="8%" ItemStyle-HorizontalAlign="Center" />
      <asp:BoundField HeaderText="载体类型" DataField="F_CarrierType" HeaderStyle-Width="6%" ItemStyle-HorizontalAlign="Center" />
               <asp:BoundField HeaderText="互见号" DataField="Hujianhao" HeaderStyle-Width="10%" ItemStyle-HorizontalAlign="Center" />
        </Columns>
        </ep:EPGridView>
  </fieldset>
</asp:Content>
